home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / ingame.gui < prev    next >
Text File  |  2004-12-18  |  48KB  |  1,645 lines

  1. -- --------------------------------------------------- COMPONENT ID
  2. ID_BUTTON            = 0 
  3. ID_RADIO_BUTTON        = 1 
  4. ID_CHK_BOX            = 2  
  5. ID_EDIT_BOX            = 3 
  6. ID_LIST                = 4 
  7. ID_TEXT_BOX            = 5 
  8. ID_PICTURE_BOX        = 6 
  9. ID_FRAME            = 7 
  10. ID_SCROLL            = 8 
  11. ID_PROGRESSBAR        = 9 
  12. ID_SLIDEMENU        = 10
  13. ID_COMPASS            = 11
  14. ID_MINIMAP            = 12
  15. ID_SELECTIONBOX        = 13
  16. ID_TABLECC            = 14
  17. ID_POOLFRAME        = 15
  18. ID_SOLDIERPOOL_ELEM = 16
  19. ID_VEHICLEPOOL_ELEM = 17
  20.  
  21.  
  22. -- --------------------------------------------------- PGUITextBox type
  23.     PGUI_SINGLELINE_TEXT    = 0
  24.     PGUI_MULTILINE_TEXT        = 1
  25.     PGUI_FILENAME            = 2
  26.  
  27.     PGUI_SIGNED_INTEGER        = 3
  28.     PGUI_UNSIGNED_INTEGER    = 4
  29.     PGUI_FLOAT                = 5
  30.  
  31.  
  32. -- --------------------------------------------------- MESAGE ID
  33.  
  34. PGUI_1STBUTTON_DOWN            =  0 
  35. PGUI_1STBUTTON_UP            =  1 
  36. PGUI_1STBUTTON_CLCK            =  2
  37. PGUI_1STBUTTON_DBLCLCK      =  3
  38. PGUI_1STBUTTON_DRAG            =  4
  39. PGUI_1STBUTTON_DROP            =  5
  40. PGUI_2NDBUTTON_DOWN            =  6
  41. PGUI_2NDBUTTON_UP            =  7
  42. PGUI_2NDBUTTON_CLCK            =  8
  43. PGUI_2NDBUTTON_DBLCLCK        =  9
  44. PGUI_2NDBUTTON_DRAG            = 10
  45. PGUI_2NDBUTTON_DROP            = 11
  46. PGUI_POINTER_MOVE            = 12
  47. PGUI_POINTER_HOVER            = 13
  48. PGUI_POINTER_LEAVE            = 14
  49. PGUI_POINTER_DRAG_HOVER        = 15
  50. PGUI_POINTER_DRAG_LEAVE        = 16
  51. PGUI_CHAR_PRESSED            = 17
  52. PGUI_KEY_PRESSED            = 18
  53. PGUI_VALUE_CHANGED            = 19
  54. PGUI_RELEASE_FOCUS            = 20
  55. PGUI_INITIALISATION            = 21
  56. PGUI_ANIMATION_FINISHED        = 22
  57.  
  58.  
  59.  
  60.  
  61. -- -------------------------------------------- PGUISelectionBox child types
  62.  
  63.     PGUI_SB_GROUPED_FRAME           = 1
  64.     PGUI_SB_UNGROUPED_FRAME         = 2
  65.     PGUI_SB_DETAILED_FRAME          = 3
  66.     PGUI_SB_SMALL_PCT               = 4
  67.     PGUI_SB_BIG_PCT                 = 5
  68.     PGUI_SB_HEALTH_BAR              = 6
  69.     PGUI_SB_HEALTH_TEXT             = 7
  70.     PGUI_SB_ARMOUR_BAR              = 8
  71.     PGUI_SB_ARMOUR_TEXT             = 9
  72.     PGUI_SB_VIEWRANGE_BAR           = 10
  73.     PGUI_SB_VIEWRANGE_TEXT          = 11
  74.     PGUI_SB_MAXSPEED_BAR            = 12
  75.     PGUI_SB_MAXSPEED_TEXT           = 13
  76.     PGUI_SB_VETERANCY_BAR           = 14
  77.     PGUI_SB_VETERANCY_TEXT          = 15
  78.     PGUI_SB_WEAPONDMG_1ST           = 16
  79.     PGUI_SB_WEAPONDMG_1_TEXT        = 17
  80.     PGUI_SB_WEAPONDMG_2ND           = 18
  81.     PGUI_SB_WEAPONDMG_2_TEXT        = 19
  82.     PGUI_SB_WEAPONRANGE_1ST         = 20
  83.     PGUI_SB_WEAPONRANGE_1_TEXT      = 21
  84.     PGUI_SB_WEAPONRANGE_2ND         = 22
  85.     PGUI_SB_WEAPONRANGE_2_TEXT      = 23
  86.     PGUI_SB_WEAPONACC_1ST           = 24
  87.     PGUI_SB_WEAPONACC_1_TEXT        = 25
  88.     PGUI_SB_WEAPONACC_2ND           = 26
  89.     PGUI_SB_WEAPONACC_2_TEXT        = 27
  90.     PGUI_SB_WEAPONAMMO_1ST          = 28
  91.     PGUI_SB_WEAPONAMMO_1_TEXT       = 29
  92.     PGUI_SB_WEAPONAMMO_2ND          = 30
  93.     PGUI_SB_WEAPONAMMO_2_TEXT       = 31
  94.     PGUI_SB_FIREMODE_TEXT           = 32
  95.     PGUI_SB_MOVEMODE_TEXT           = 33
  96.     
  97. -- ---------------------------------------------------
  98.     PGUI_FONT_WIDTH                 = 6
  99.     PGUI_FONT_HEIGHT                = 10
  100.  
  101. -- ---------------------------------------------------
  102.  
  103. CreateGUI("InGame");
  104.  
  105.  
  106. id=GUIADDCONTROL {
  107.     Parent     = 0,
  108.     Name       = "Frame",
  109.     ControlType= ID_FRAME,
  110.     BoundRect  = {0,563,1024,768},
  111.     Texture    = "GUI/ingamegui.dds",
  112.     Rec1STTexture = {0,0,1024,205},
  113.         MESSAGE_MAP = {
  114.         {PGUI_INITIALISATION, "INGAMEGUIID"},
  115.     },
  116. };
  117.  
  118. GUIADDCONTROL {
  119.     Parent     = id,
  120.     Name       = "Frame",
  121.     ControlType= ID_FRAME,
  122.     BoundRect  = {825,24,1024,205},
  123.     Texture    = "GUI/ingamegui.dds",
  124.     Rec1STTexture = {825,24,1024,205},
  125.  
  126. };
  127.  
  128. GUIADDCONTROL {
  129.     Parent     = id,
  130.     Name       = "MapView",
  131.     ControlType= ID_MINIMAP,
  132.     BoundRect  = {21,16,178,173},
  133.     Texture    = "GUI/minimap.dds",
  134.     Rec1STTexture = {0,0,157,157},
  135.     MESSAGE_MAP = {
  136.         {PGUI_INITIALISATION , "MAP"},
  137.     },
  138. };
  139.  
  140. compass = GUIADDCONTROL {
  141.     Parent     = id,
  142.     Name       = "CompassView",
  143.     ControlType= ID_FRAME,
  144.     BoundRect  = {21,16,178,173},
  145.     Texture    = "GUI/ingamegui.dds",
  146.     Rec1STTexture = {0,205,157,362},
  147.     SecRect    = {572+8,217,589,343},
  148.     MESSAGE_MAP = {
  149.         {PGUI_INITIALISATION , "COMPASS"},
  150.     },
  151. };
  152.  
  153. MapButton=GUIADDCONTROL {
  154.     Parent     = id,
  155.     Name       = "Map",
  156.     ControlType= ID_RADIO_BUTTON ,
  157.     BoundRect  = {20, 740-563, 82, 762-563},
  158.     Texture    = "GUI/ingamegui.dds",
  159.     Title      = "Map",
  160.     ToolTip    = "Show mini map",
  161.     Rec1STTexture = {20, 740-563, 82, 762-563},
  162.     Rec2NDTexture = {530, 206, 589, 228},
  163.     Rec3RDTexture = {530, 252, 589, 274},
  164.     Rec4THTexture = {530, 252, 589, 274},
  165.     MESSAGE_MAP = {
  166.         {PGUI_INITIALISATION, "INITCOMPASS"},
  167.         {PGUI_VALUE_CHANGED, "COMPASS"},
  168.     },
  169. };
  170.  
  171. GUIADDCONTROL {
  172.     Parent     = id,
  173.     Name       = "Compass",
  174.     ControlType= ID_RADIO_BUTTON,
  175.     MessageParentID = MapButton,
  176.     BoundRect  = {83, 740-563, 179, 762-563},
  177.     Texture    = "GUI/ingamegui.dds",
  178.     Title      = "Compass",
  179.     ToolTip    = "Show tactical menu",
  180.     Rec1STTexture = {83, 740-563, 179, 762-563},
  181.     Rec2NDTexture = {496, 229, 589, 251},
  182.     Rec3RDTexture = {496, 275, 589, 297},
  183.     Rec4THTexture = {496, 275, 589, 297},
  184.  
  185.     MESSAGE_MAP = {
  186.         {PGUI_INITIALISATION, "INITCOMPASS2"},
  187.         {PGUI_VALUE_CHANGED, "MAP"},
  188.     },
  189. };
  190.  
  191. --#############
  192.  
  193.  
  194. ComandFrame=GUIADDCONTROL {
  195.     Parent     = id,
  196.     Name       = "ComandsMenu",
  197.     ControlType= ID_FRAME,
  198.     BoundRect  = {828,31,1016,174},
  199.     Texture    = "GUI/ingamegui.dds",
  200.     Rec1STTexture = {828,31,1016,174},
  201.  
  202.     MESSAGE_MAP = {
  203.     {PGUI_INITIALISATION , "INITACTION"},
  204.     },
  205. };
  206.  
  207. GUIADDCONTROL {
  208.     Parent     = ComandFrame,
  209.     Name       = "cmdMove",
  210.     ControlType= ID_BUTTON,
  211.     BoundRect  = {0,0,47,35},
  212.     Texture    = "GUI/cmdButtons.dds",
  213.     Title      = "cmdMove",
  214.     ToolTip    = "Move",
  215.     Rec1STTexture = {0,0,47,35},
  216.     Rec2NDTexture = {0,0+143,47,35+143},
  217.     Rec3RDTexture = {0+189,0,47+189,35},
  218.     Rec4THTexture =  {0+189,0+143,47+189,35+143},
  219.     MESSAGE_MAP = {
  220.     {PGUI_1STBUTTON_CLCK, "CMDMOVE"},
  221.     },
  222. };
  223.  
  224. GUIADDCONTROL {
  225.     Parent     = ComandFrame,
  226.     Name       = "cmdStop",
  227.     ControlType= ID_BUTTON,
  228.     BoundRect  = {0+47,0,47+47,35},
  229.     Texture    = "GUI/cmdButtons.dds",
  230.     Title      = "cmdStop",
  231.     ToolTip    = "Stop",
  232.     Rec1STTexture = {0+47,0,47+47,35},
  233.     Rec2NDTexture = {0+47,0+143,47+47,35+143},
  234.     Rec3RDTexture = {0+189+47,0,47+189+47,35},
  235.     Rec4THTexture =  {0+189+47,0+143,47+189+47,35+143},
  236.     
  237.     MESSAGE_MAP = {
  238.         {PGUI_1STBUTTON_CLCK, "CMDSTOP", 0, 31},
  239.     },
  240. };
  241.  
  242. GUIADDCONTROL {
  243.     Parent     = ComandFrame,
  244.     Name       = "cmdAttack",
  245.     ControlType= ID_BUTTON,
  246.     BoundRect  = {0+47+47,0,47+47+47,35},
  247.     Texture    = "GUI/cmdButtons.dds",
  248.     Title      = "cmdAttack",
  249.     ToolTip    = "Attack",
  250.     Rec1STTexture = {0+47+47,0,47+47+47,35},
  251.     Rec2NDTexture = {0+47+47,0+143,47+47+47,35+143},
  252.     Rec3RDTexture = {0+189+47+47,0,47+189+47+47,35},
  253.     Rec4THTexture =  {0+189+47+47,0+143,47+189+47+47,35+143},
  254.  
  255.     MESSAGE_MAP = {
  256.         {PGUI_1STBUTTON_CLCK , "CMDATTACK", 0, 30},
  257.     },
  258. };
  259.  
  260. GUIADDCONTROL {
  261.     Parent     = ComandFrame,
  262.     Name       = "cmdGuard",
  263.     ControlType= ID_BUTTON,
  264.     BoundRect  = {0+47+47+47,0,47+47+47+47,35},
  265.     Texture    = "GUI/cmdButtons.dds",
  266.     Title      = "cmdGuard",
  267.     ToolTip    = "Guard",
  268.     Rec1STTexture = {0+47+47+47,0,47+47+47+47,35},
  269.     Rec2NDTexture = {0+47+47+47,0+143,47+47+47+47,35+143},
  270.     Rec3RDTexture = {0+189+47+47+47,0,47+189+47+47+47,35},
  271.     Rec4THTexture =  {0+189+47+47+47,0+143,47+189+47+47+47,35+143},
  272.  
  273.     MESSAGE_MAP = {
  274.         {PGUI_1STBUTTON_CLCK , "CMDGUARD", 0, 34},
  275.     },
  276.     
  277. };
  278.  
  279.  
  280. GUIADDCONTROL {
  281.     Parent     = ComandFrame,
  282.     Name       = "cmdEnter",
  283.     ControlType= ID_BUTTON,
  284.     BoundRect  = {0,0+36,47,35+36},
  285.     Texture    = "GUI/cmdButtons.dds",
  286.     Title      = "cmdEnter",
  287.     ToolTip    = "Enter",
  288.     Rec1STTexture = {0,0+36,47,35+36},
  289.     Rec2NDTexture = {0,0+143+36,47,35+143+36},
  290.     Rec3RDTexture = {0+189,0+36,47+189,35+36},
  291.     Rec4THTexture =  {0+189,0+143+36,47+189,35+143+36},
  292.     MESSAGE_MAP = {
  293.     {PGUI_1STBUTTON_CLCK, "CMDENTER", 0, 18},
  294.     },
  295.  
  296. };
  297.  
  298. GUIADDCONTROL {
  299.     Parent     = ComandFrame,
  300.     Name       = "cmdExit",
  301.     ControlType= ID_BUTTON,
  302.     BoundRect  = {0+47,0+36,47+47,35+36},
  303.     Texture    = "GUI/cmdButtons.dds",
  304.     Title      = "cmdExit",
  305.     ToolTip    = "Exit",
  306.     Rec1STTexture = {0+47,0+36,47+47,35+36},
  307.     Rec2NDTexture = {0+47,0+143+36,47+47,35+143+36},
  308.     Rec3RDTexture = {0+189+47,0+36,47+189+47,35+36},
  309.     Rec4THTexture =  {0+189+47,0+143+36,47+189+47,35+143+36},
  310.     
  311.     MESSAGE_MAP = {
  312.         {PGUI_1STBUTTON_CLCK, "CMDEXIT", 0, 45},
  313.     },
  314. };
  315.  
  316. GUIADDCONTROL {
  317.     Parent     = ComandFrame,
  318.     Name       = "cmdHeal",
  319.     ControlType= ID_BUTTON,
  320.     BoundRect  = {0+47+47,0+36,47+47+47,35+36},
  321.     Texture    = "GUI/cmdButtons.dds",
  322.     Title      = "cmdHeal",
  323.     ToolTip    = "Heal",
  324.     Rec1STTexture = {0+47+47,0+36,47+47+47,35+36},
  325.     Rec2NDTexture = {0+47+47,0+143+36,47+47+47,35+143+36},
  326.     Rec3RDTexture = {0+189+47+47,0+36,47+189+47+47,35+36},
  327.     Rec4THTexture =  {0+189+47+47,0+143+36,47+189+47+47,35+143+36},
  328.  
  329.     MESSAGE_MAP = {
  330.         {PGUI_1STBUTTON_CLCK , "CMDHEAL", 0, 35},
  331.     },
  332. };
  333.  
  334. GUIADDCONTROL {
  335.     Parent     = ComandFrame,
  336.     Name       = "cmdRepair",
  337.     ControlType= ID_BUTTON,
  338.     BoundRect  = {0+47+47+47,0+36,47+47+47+47,35+36},
  339.     Texture    = "GUI/cmdButtons.dds",
  340.     Title      = "cmdRepair",
  341.     ToolTip    = "Repair/Capture",
  342.     Rec1STTexture = {0+47+47+47,0+36,47+47+47+47,35+36},
  343.     Rec2NDTexture = {0+47+47+47,0+143+36,47+47+47+47,35+143+36},
  344.     Rec3RDTexture = {0+189+47+47+47,0+36,47+189+47+47+47,35+36},
  345.     Rec4THTexture =  {0+189+47+47+47,0+143+36,47+189+47+47+47,35+143+36},
  346.  
  347.     MESSAGE_MAP = {
  348.         {PGUI_1STBUTTON_CLCK , "CMDREPAIR", 0, 19},
  349.     },
  350.     
  351. };
  352.  
  353. GUIADDCONTROL {
  354.     Parent     = ComandFrame,
  355.     Name       = "cmdTimeBomb",
  356.     ControlType= ID_BUTTON,
  357.     BoundRect  = {0,0+36+36,47,35+36+36},
  358.     Texture    = "GUI/cmdButtons.dds",
  359.     Title      = "cmdTimeBomb",
  360.     ToolTip    = "Time Explosive",
  361.     Rec1STTexture = {0,0+36+36,47,35+36+36},
  362.     Rec2NDTexture = {0,0+143+36+36,47,35+143+36+36},
  363.     Rec3RDTexture = {0+189,0+36+36,47+189,35+36+36},
  364.     Rec4THTexture =  {0+189,0+143+36+36,47+189,35+143+36+36},
  365.     MESSAGE_MAP = {
  366.     {PGUI_1STBUTTON_CLCK, "CMDTIMEBOMB", 0, 38},
  367.     },
  368.  
  369. };
  370.  
  371. GUIADDCONTROL {
  372.     Parent     = ComandFrame,
  373.     Name       = "cmdRadioBomb",
  374.     ControlType= ID_BUTTON,
  375.     BoundRect  = {0+47,0+36+36,47+47,35+36+36},
  376.     Texture    = "GUI/cmdButtons.dds",
  377.     Title      = "cmdRadioBomb",
  378.     ToolTip    = "Radio Explosive",
  379.     Rec1STTexture = {0+47,0+36+36,47+47,35+36+36},
  380.     Rec2NDTexture = {0+47,0+143+36+36,47+47,35+143+36+36},
  381.     Rec3RDTexture = {0+189+47,0+36+36,47+189+47,35+36+36},
  382.     Rec4THTexture =  {0+189+47,0+143+36+36,47+189+47,35+143+36+36},
  383.     
  384.     MESSAGE_MAP = {
  385.         {PGUI_1STBUTTON_CLCK, "CMDRADIOBOMB", 0, 37},
  386.     },
  387. };
  388.  
  389. GUIADDCONTROL {
  390.     Parent     = ComandFrame,
  391.     Name       = "cmdGranate",
  392.     ControlType= ID_BUTTON,
  393.     BoundRect  = {0+47+47,0+36+36,47+47+47,35+36+36},
  394.     Texture    = "GUI/cmdButtons.dds",
  395.     Title      = "cmdGranate",
  396.     ToolTip    = "Hand Granade",
  397.     Rec1STTexture = {0+47+47,0+36+36,47+47+47,35+36+36},
  398.     Rec2NDTexture = {0+47+47,0+143+36+36,47+47+47,35+143+36+36},
  399.     Rec3RDTexture = {0+189+47+47,0+36+36,47+189+47+47,35+36+36},
  400.     Rec4THTexture =  {0+189+47+47,0+143+36+36,47+189+47+47,35+143+36+36},
  401.  
  402.     MESSAGE_MAP = {
  403.         {PGUI_1STBUTTON_CLCK , "CMDGRANATE", 0, 48},
  404.     },
  405. };
  406.  
  407. GUIADDCONTROL {
  408.     Parent     = ComandFrame,
  409.     Name       = "cmdDemine",
  410.     ControlType= ID_BUTTON,
  411.     BoundRect  = {0+47+47+47,0+36+36,47+47+47+47,35+36+36},
  412.     Texture    = "GUI/cmdButtons.dds",
  413.     Title      = "cmdDemine",
  414.     ToolTip    = "Demine",
  415.     Rec1STTexture = {0+47+47+47,0+36+36,47+47+47+47,35+36+36},
  416.     Rec2NDTexture = {0+47+47+47,0+143+36+36,47+47+47+47,35+143+36+36},
  417.     Rec3RDTexture = {0+189+47+47+47,0+36+36,47+189+47+47+47,35+36+36},
  418.     Rec4THTexture =  {0+189+47+47+47,0+143+36+36,47+189+47+47+47,35+143+36+36},
  419.  
  420.     MESSAGE_MAP = {
  421.         {PGUI_1STBUTTON_CLCK , "CMDDEMINE", 0, 32},
  422.     },
  423.     
  424. };
  425.  
  426.  
  427. GUIADDCONTROL {
  428.     Parent     = ComandFrame,
  429.     Name       = "cmdDeploy",
  430.     ControlType= ID_BUTTON,
  431.     BoundRect  = {0,0+36+36+36,47,35+36+36+36},
  432.     Texture    = "GUI/cmdButtons.dds",
  433.     Title      = "cmdDeploy",
  434.     ToolTip    = "Deploy",
  435.     Rec1STTexture = {0,0+36+36+36,47,35+36+36+36},
  436.     Rec2NDTexture = {0,0+143+36+36+36,47,35+143+36+36+36},
  437.     Rec3RDTexture = {0+189,0+36+36+36,47+189,35+36+36+36},
  438.     Rec4THTexture =  {0+189,0+143+36+36+36,47+189,35+143+36+36+36},
  439.     MESSAGE_MAP = {
  440.     {PGUI_1STBUTTON_CLCK, "CMDDEPLOY", 0, 16},
  441.     },
  442.  
  443. };
  444.  
  445. GUIADDCONTROL {
  446.     Parent     = ComandFrame,
  447.     Name       = "cmdSwitch",
  448.     ControlType= ID_BUTTON,
  449.     BoundRect  = {0+47+47+47,0+36+36+36,47+47+47+47,35+36+36+36},
  450.     Texture    = "GUI/cmdButtons.dds",
  451.     Title      = "cmdSwitch",
  452.     ToolTip    = "Switch weapon",
  453.     Rec1STTexture = {0+47+47+47,0+36+36+36,47+47+47+47,35+36+36+36},
  454.     Rec2NDTexture = {0+47+47+47,0+143+36+36+36,47+47+47+47,35+143+36+36+36},
  455.     Rec3RDTexture = {0+189+47+47+47,0+36+36+36,47+189+47+47+47,35+36+36+36},
  456.     Rec4THTexture =  {0+189+47+47+47,0+143+36+36+36,47+189+47+47+47,35+143+36+36+36},
  457.  
  458.     MESSAGE_MAP = {
  459.         {PGUI_1STBUTTON_CLCK , "CMDSWITCH", 0, 17},
  460.     },
  461.     
  462. };
  463.  
  464.  
  465.  
  466. GUIADDCONTROL {
  467.     Parent     = ComandFrame,
  468.     Name       = "cmdStand",
  469.     ControlType= ID_BUTTON,
  470.     BoundRect  = {0+47,0+36+36+36,47+31,35+36+36+36},
  471.     Texture    = "GUI/cmdButtons.dds",
  472.     Title      = "cmdStand",
  473.     ToolTip    = "Stand",
  474.     Rec1STTexture = {0+47,0+36+36+36,47+31,35+36+36+36},
  475.     Rec2NDTexture = {0+47,0+143+36+36+36,47+31,35+143+36+36+36},
  476.     Rec3RDTexture = {0+189+47,0+36+36+36,47+189+31,35+36+36+36},
  477.     Rec4THTexture =  {0+189+47,0+143+36+36+36,47+189+31,35+143+36+36+36},
  478.     MESSAGE_MAP = {
  479.     {PGUI_1STBUTTON_CLCK, "CMDSTAND", 0, 211},
  480.     },
  481.  
  482. };
  483.  
  484. GUIADDCONTROL {
  485.     Parent     = ComandFrame,
  486.     Name       = "cmdKneel",
  487.     ControlType= ID_BUTTON,
  488.     BoundRect  = {0+47+31,0+36+36+36,47+31+31,35+36+36+36},
  489.     Texture    = "GUI/cmdButtons.dds",
  490.     Title      = "cmdKneel",
  491.     ToolTip    = "Kneel",
  492.     Rec1STTexture = {0+47+31,0+36+36+36,47+31+31,35+36+36+36},
  493.     Rec2NDTexture = {0+47+31,0+143+36+36+36,47+31+31,35+143+36+36+36},
  494.     Rec3RDTexture = {0+189+47+31,0+36+36+36,47+189+31+31,35+36+36+36},
  495.     Rec4THTexture =  {0+189+47+31,0+143+36+36+36,47+189+31+31,35+143+36+36+36},
  496.     MESSAGE_MAP = {
  497.     {PGUI_1STBUTTON_CLCK, "CMDKNEEL", 0, 207},
  498.     },
  499.  
  500. };
  501.  
  502. GUIADDCONTROL {
  503.     Parent     = ComandFrame,
  504.     Name       = "cmdLay",
  505.     ControlType= ID_BUTTON,
  506.     BoundRect  = {0+47+31+31,0+36+36+36,47+31+31+32,35+36+36+36},
  507.     Texture    = "GUI/cmdButtons.dds",
  508.     Title      = "cmdLay",
  509.     ToolTip    = "Lay",
  510.     Rec1STTexture = {0+47+31+31,0+36+36+36,47+31+31+32,35+36+36+36},
  511.     Rec2NDTexture = {0+47+31+31,0+143+36+36+36,47+31+31+32,35+143+36+36+36},
  512.     Rec3RDTexture = {0+189+47+31+31,0+36+36+36,47+189+31+31+32,35+36+36+36},
  513.     Rec4THTexture =  {0+189+47+31+31,0+143+36+36+36,47+189+31+31+32,35+143+36+36+36},
  514.     MESSAGE_MAP = {
  515.     {PGUI_1STBUTTON_CLCK, "CMDLAY", 0, 209},
  516.     },
  517.  
  518. };
  519.  
  520. ----------------------- dugmici za Tactical Menu -----------------------
  521.  
  522. GUIADDCONTROL {
  523.     Parent     = compass,
  524.     Name       = "FireAtWill",
  525.     ControlType= ID_BUTTON,
  526.     BoundRect  = {25-21,584-16-563,75-21,618-16-563},
  527.     Texture    = "GUI/ingamegui.dds",
  528.     Title      = "Button 35",
  529.     ToolTip    = "Fire at will",
  530.     Rec1STTexture = {5,210,55,244},
  531.     Rec2NDTexture = {160,209,211,245},
  532.     Rec3RDTexture = {317,209,368,245},
  533.     Rec4THTexture = {317,209,368,245},
  534.     MESSAGE_MAP = {
  535.         {PGUI_1STBUTTON_CLCK , "FIRE_ATWILL", 0, 210},
  536.     },  
  537. };
  538.  
  539. GUIADDCONTROL {
  540.     Parent     = compass,
  541.     Name       = "ReturnFire",
  542.     ControlType= ID_BUTTON,
  543.     BoundRect  = {76-21,584-16-563,124-21,618-16-563},
  544.     Texture    = "GUI/ingamegui.dds",
  545.     Title      = "Button 36",
  546.     ToolTip    = "Return fire",
  547.     Rec1STTexture = {56,210,104,244},
  548.     Rec2NDTexture = {211,209,260,245},
  549.     Rec3RDTexture = {368,209,417,245},
  550.     Rec4THTexture = {368,209,417,245},
  551.     MESSAGE_MAP = {
  552.         {PGUI_1STBUTTON_CLCK , "FIRE_RETURN", 0, 199},
  553.     },  
  554. };
  555.  
  556. GUIADDCONTROL {
  557.     Parent     = compass,
  558.     Name       = "HoldFire",
  559.     ControlType= ID_BUTTON,
  560.     BoundRect  = {125-21,584-16-563,174-21,618-16-563},
  561.     Texture    = "GUI/ingamegui.dds",
  562.     Title      = "Button 36",
  563.     ToolTip    = "Hold fire",
  564.     Rec1STTexture = {105,210,155,244},
  565.     Rec2NDTexture = {260,209,311,245},
  566.     Rec3RDTexture = {417,209,468,245},
  567.     Rec4THTexture = {417,209,468,245},
  568.     MESSAGE_MAP = {
  569.         {PGUI_1STBUTTON_CLCK , "FIRE_HOLD", 0, 201},
  570.     },  
  571. };
  572.             -----------------------------
  573.  
  574. GUIADDCONTROL {
  575.     Parent     = compass,
  576.     Name       = "Strict",
  577.     ControlType= ID_BUTTON,
  578.     BoundRect  = {25-21,623-16-563,99-21,658-16-563},
  579.     Texture    = "GUI/ingamegui.dds",
  580.     Title      = "Button 24",
  581.     Rec1STTexture = {4,248,80,284},
  582.     Rec2NDTexture = {160,248,235,284},
  583.     Rec3RDTexture = {317,248,392,284},
  584.     Rec4THTexture = {317,248,392,284},
  585.     MESSAGE_MAP = {
  586.         {PGUI_1STBUTTON_CLCK , "MOVE_STRICT", 0, 21},
  587.     },    
  588. };
  589.  
  590. GUIADDCONTROL {
  591.     Parent     = compass,
  592.     Name       = "Loose",
  593.     ControlType= ID_BUTTON,
  594.     BoundRect  = {99-21,623-16-563,175-21,658-16-563},
  595.     Texture    = "GUI/ingamegui.dds",
  596.     Title      = "Button 25",
  597.     Rec1STTexture = {80,248,158,284},
  598.     Rec2NDTexture = {235,248,311,284},
  599.     Rec3RDTexture = {392,248,468,284},
  600.     Rec4THTexture = {392,248,468,284},
  601.     
  602.     MESSAGE_MAP = {
  603.         {PGUI_1STBUTTON_CLCK , "MOVE_LOOSE", 0, 22},
  604.     },
  605. };
  606.                 ------------------------------
  607.                 
  608. GUIADDCONTROL {
  609.     Parent     = compass,
  610.     Name       = "Column",
  611.     ControlType= ID_BUTTON,
  612.     BoundRect  = {78-21,664-16-563,121-21,733-16-563},
  613.     Texture    = "GUI/ingamegui.dds",
  614.     Title      = "Button 26",
  615.     Rec1STTexture = {58,290,100,358},
  616.     Rec2NDTexture = {214,290,257,359},
  617.     Rec3RDTexture = {371,290,414,359},
  618.     Rec4THTexture = {371,290,414,359},
  619.     
  620.     MESSAGE_MAP = {
  621.         {PGUI_1STBUTTON_CLCK , "FORMCOLUMN", 0, 25},
  622.     },
  623. };
  624.  
  625. GUIADDCONTROL {
  626.     Parent     = compass,
  627.     Name       = "Line",
  628.     ControlType= ID_BUTTON,
  629.     BoundRect  = {25-21,664-16-563,78-21,698-16-563},
  630.     Texture    = "GUI/ingamegui.dds",
  631.     Title      = "Button 27",
  632.     Rec1STTexture = {5,290,58,323},
  633.     Rec2NDTexture = {160,290,214,324},
  634.     Rec3RDTexture = {317,290,371,324},
  635.     Rec4THTexture = {317,290,371,324},
  636.      
  637.     MESSAGE_MAP = {
  638.         {PGUI_1STBUTTON_CLCK , "FORMLINE", 0, 23},
  639.     },
  640. };
  641.  
  642. GUIADDCONTROL {
  643.     Parent     = compass,
  644.     Name       = "Vee",
  645.     ControlType= ID_BUTTON,
  646.     BoundRect  = {121-21,664-16-563,175-21,698-16-563},
  647.     Texture    = "GUI/ingamegui.dds",
  648.     Title      = "Button 28",
  649.     Rec1STTexture = {101,290,154,323},
  650.     Rec2NDTexture = {257,290,311,324},
  651.     Rec3RDTexture = {414,290,468,324},
  652.     Rec4THTexture = {414,290,468,324},
  653.     
  654.     MESSAGE_MAP = {
  655.         {PGUI_1STBUTTON_CLCK , "FORMVEE", 0, 24},
  656.     }, 
  657. };
  658.  
  659. GUIADDCONTROL {
  660.     Parent     = compass,
  661.     Name       = "Circle",
  662.     ControlType= ID_BUTTON,
  663.     BoundRect  = {121-21,698-16-563,175-21,733-16-563},
  664.     Texture    = "GUI/ingamegui.dds",
  665.     Title      = "Button 29",
  666.     Rec1STTexture = {101,324,154,358},
  667.     Rec2NDTexture = {257,324,311,359},
  668.     Rec3RDTexture = {414,324,468,359},
  669.     Rec4THTexture = {414,324,468,359},
  670.      
  671.     MESSAGE_MAP = {
  672.         {PGUI_1STBUTTON_CLCK , "FORMCIRCLE", 0, 27},
  673.     },
  674. };
  675.  
  676. GUIADDCONTROL {
  677.     Parent     = compass,
  678.     Name       = "Custom",
  679.     ControlType= ID_BUTTON,
  680.     BoundRect  = {25-21,698-16-563,78-21,733-16-563},
  681.     Texture    = "GUI/ingamegui.dds",
  682.     Title      = "Button 30",
  683.     Rec1STTexture = {5,324,57,358},
  684.     Rec2NDTexture = {160,324,214,359},
  685.     Rec3RDTexture = {317,324,371,359},
  686.     Rec4THTexture = {317,324,371,359},
  687.      
  688.     MESSAGE_MAP = {
  689.         {PGUI_1STBUTTON_CLCK , "FORMTRIANGLE", 0, 26},
  690.     },
  691. };
  692.  
  693. ------------------------------------------------------------------------
  694.  
  695. --############
  696. SpecialFrame=GUIADDCONTROL {
  697.     Parent     = 0,
  698.     Name       = "ComandsMenu",
  699.     ControlType= ID_FRAME,
  700.     BoundRect  = {1024-50,0,1024,280},
  701.  
  702.     MESSAGE_MAP = {
  703.     {PGUI_INITIALISATION , "INITSPECOP"},
  704.     },
  705. };
  706.  
  707. GUIADDCONTROL {
  708.     Parent     = SpecialFrame,
  709.     Name       = "cmdAirStrike",
  710.     ControlType= ID_BUTTON,
  711.     BoundRect  = {2,2,50,50},
  712.     Texture    = "GUI/cmdButtons.dds",
  713.     Title      = "cmdMove",
  714.     ToolTip    = "Air strike",
  715.     Rec1STTexture = {0,287,47,334},
  716.     Rec2NDTexture = {0+192,287,47+192,334},
  717.     Rec3RDTexture = {0,287+96,47,334+96},
  718.     Rec4THTexture = {0,287,47,334},
  719.     MESSAGE_MAP = {
  720.     {PGUI_1STBUTTON_CLCK, "SO_AIRST"},
  721.     },
  722. };
  723.  
  724. GUIADDCONTROL {
  725.     Parent     = SpecialFrame,
  726.     Name       = "cmdArtilleryStrike",
  727.     ControlType= ID_BUTTON,
  728.     BoundRect  = {2,2,50,50},
  729.     Texture    = "GUI/cmdButtons.dds",
  730.     Title      = "cmdArtilleryStrike",
  731.     ToolTip    = "Artillery strike",
  732.     Rec1STTexture = {48,287,47+48,334},
  733.     Rec2NDTexture = {48+192,287,47+48+192,334},
  734.     Rec3RDTexture = {48,287+96,47+48,334+96},
  735.     Rec4THTexture = {48,287,47+48,334},
  736.     MESSAGE_MAP = {
  737.     {PGUI_1STBUTTON_CLCK, "SO_ARTIL"},
  738.     },
  739. };
  740.  
  741. GUIADDCONTROL {
  742.     Parent     = SpecialFrame,
  743.     Name       = "cmdLaserBomb",
  744.     ControlType= ID_BUTTON,
  745.     BoundRect  = {2,2,50,50},
  746.     Texture    = "GUI/cmdButtons.dds",
  747.     Title      = "cmdLaserBomb",
  748.     ToolTip    = "Laser bomb",
  749.     Rec1STTexture = {48+48,287,47+48+48,334},
  750.     Rec2NDTexture = {48+48+192,287,47+48+48+192,334},
  751.     Rec3RDTexture = {48+48,287+96,47+48+48,334+96},
  752.     Rec4THTexture = {48+48,287,47+48+48,334},
  753.     MESSAGE_MAP = {
  754.     {PGUI_1STBUTTON_CLCK, "SO_LASER"},
  755.     },
  756. };
  757.  
  758. GUIADDCONTROL {
  759.     Parent     = SpecialFrame,
  760.     Name       = "cmdSatellite",
  761.     ControlType= ID_BUTTON,
  762.     BoundRect  = {2,2,50,50},
  763.     Texture    = "GUI/cmdButtons.dds",
  764.     Title      = "cmdSatellite",
  765.     ToolTip    = "Satellite recon",
  766.     Rec1STTexture = {48+48+48,287,47+48+48+48,334},
  767.     Rec2NDTexture = {48+48+48+192,287,47+48+48+48+192,334},
  768.     Rec3RDTexture = {48+48+48,287+96,47+48+48+48,334+96},
  769.     Rec4THTexture = {48+48+48,287,47+48+48+48,334},
  770.     MESSAGE_MAP = {
  771.     {PGUI_1STBUTTON_CLCK, "SO_SATEL"},
  772.     },
  773. };
  774.  
  775. GUIADDCONTROL {
  776.     Parent     = SpecialFrame,
  777.     Name       = "cmdSpecForce",
  778.     ControlType= ID_BUTTON,
  779.     BoundRect  = {2,2,50,50},
  780.     Texture    = "GUI/cmdButtons.dds",
  781.     Title      = "cmdSpecForce",
  782.     ToolTip    = "Special force",
  783.     Rec1STTexture = {0,287+48,47,334+48},
  784.     Rec2NDTexture = {0+192,287+48,47+192,334+48},
  785.     Rec3RDTexture = {0,287+48+96,47,334+48+96},
  786.     Rec4THTexture = {0,287+48,47,334+48},
  787.     MESSAGE_MAP = {
  788.     {PGUI_INITIALISATION, "INITSPECOP"},
  789.     {PGUI_1STBUTTON_CLCK, "SO_SPECF"},
  790.     },
  791. };
  792.  
  793. GUIADDCONTROL {
  794.     Parent     = SpecialFrame,
  795.     Name       = "cmdReinforcement",
  796.     ControlType= ID_BUTTON,
  797.     BoundRect  = {2,2,50,50},
  798.     Texture    = "GUI/cmdButtons.dds",
  799.     Title      = "cmdReinforcement",
  800.     ToolTip    = "Reinforcement",
  801.     Rec1STTexture = {48,287+48,47+48,334+48},
  802.     Rec2NDTexture = {48+192,287+48,47+48+192,334+48},
  803.     Rec3RDTexture = {48,287+48+96,47+48,334+48+96},
  804.     Rec4THTexture = {48,287+48,47+48,334+48},
  805.     MESSAGE_MAP = {
  806.     {PGUI_INITIALISATION, "INITSPECOP"},
  807.     {PGUI_1STBUTTON_CLCK, "SO_REINF"},
  808.     },
  809. };
  810.  
  811. GUIADDCONTROL {
  812.     Parent     = SpecialFrame,
  813.     Name       = "cmdIntelligence",
  814.     ControlType= ID_BUTTON,
  815.     BoundRect  = {2,2,50,50},
  816.     Texture    = "GUI/cmdButtons.dds",
  817.     Title      = "cmdIntelligence",
  818.     ToolTip    = "Intelligence",
  819.     Rec1STTexture = {48+48,287+48,47+48+48,334+48},
  820.     Rec2NDTexture = {48+48+192,287+48,47+48+48+192,334+48},
  821.     Rec3RDTexture = {48+48,287+48+96,47+48+48,334+48+96},
  822.     Rec4THTexture = {48+48,287+48,47+48+48,334+48},
  823.     MESSAGE_MAP = {
  824.     {PGUI_1STBUTTON_CLCK, "SO_INTEL"},
  825.     },
  826. };
  827.  
  828. GUIADDCONTROL {
  829.     Parent     = SpecialFrame,
  830.     Name       = "cmdLongRange",
  831.     ControlType= ID_BUTTON,
  832.     BoundRect  = {2,2,50,50},
  833.     Texture    = "GUI/cmdButtons.dds",
  834.     Title      = "cmdLongRange",
  835.     ToolTip    = "Long range missile",
  836.     Rec1STTexture = {48+48+48,287+48,47+48+48+48,334+48},
  837.     Rec2NDTexture = {48+48+48+192,287+48,47+48+48+48+192,334+48},
  838.     Rec3RDTexture = {48+48+48,287+48+96,47+48+48+48,334+48+96},
  839.     Rec4THTexture = {48+48+48,287+48,47+48+48+48,334+48},
  840.     MESSAGE_MAP = {
  841.     {PGUI_1STBUTTON_CLCK, "SO_LONGR"},
  842.     },
  843. };
  844.  
  845. --#############
  846.  
  847. -- ---------------------------  Selection Box ---------------------------
  848.  
  849. SBox = GUIADDCONTROL {
  850.     Parent     = id,
  851.     Name       = "MainSelectionBox",
  852.     ControlType= ID_SELECTIONBOX ,
  853.     BoundRect  = {217-8,31,813-8,183},
  854.     Texture    = "GUI/ingamegui.dds",
  855.     Rec1STTexture = {217-8,31,813-8,183},
  856.  
  857. };
  858.  
  859.  
  860. -- ------------------- before we add any controls to the Selection box  --
  861. -- ------------------- we must add three main frames 
  862. --                     PGUI_SB_GROUPED_FRAME    
  863. --                     PGUI_SB_UNGROUPED_FRAME
  864. --                     PGUI_SB_DETAILED_FRAME    
  865.  
  866.  
  867.  GUIADDCONTROL {
  868.     Parent     = SBox,
  869.     Name       = "GroupedSelection",
  870.     ControlType= ID_FRAME,
  871.     Long2nd   = PGUI_SB_GROUPED_FRAME,
  872.     BoundRect  = {0,0,596,152},
  873.     Texture    = "GUI/ingamegui.dds",
  874.     Rec1STTexture = {217-8,31,813-8,183},
  875.   
  876.  };
  877.     
  878.  GUIADDCONTROL {
  879.     Parent     = SBox,
  880.     Name       = "UngroupedSelection",
  881.     ControlType= ID_FRAME,
  882.     Long2nd   = PGUI_SB_UNGROUPED_FRAME,
  883.     BoundRect  = {0,0,596,152},
  884.     Texture    = "GUI/ingamegui.dds",
  885.     Rec1STTexture = {217-8,31,813-8,183},
  886.  
  887. };
  888.  
  889. GUIADDCONTROL {
  890.     Parent     = SBox,
  891.     Name       = "DetailedSelection",
  892.     ControlType= ID_FRAME,
  893.     Long2nd   = PGUI_SB_DETAILED_FRAME,
  894.     BoundRect  = {0+160,0,1023-588+160,153},
  895.     Texture    = "GUI/ingamegui.dds",
  896.     Rec1STTexture = {588,205,1023,358},
  897. };
  898.  
  899.  
  900. GUIADDCONTROL {
  901.    Parent     = SBox,
  902.    Name       = "HealthTXT",
  903.    ControlType= ID_TEXT_BOX,
  904.    Long1st   = PGUI_SINGLELINE_TEXT ,
  905.    Long2nd   = PGUI_SB_HEALTH_TEXT ,
  906.    BoundRect  = {85+3,12+1,194+3,21+1},
  907.    Texture    = "GUI/ingamegui.dds",
  908.    Rec1STTexture = {675,217,784,226},
  909.    Res2NDTexture = {577,472,577,472},
  910.    FontColor  = 4290494599,
  911.    FontHeight  = PGUI_FONT_HEIGHT,
  912.    FontWidth  = PGUI_FONT_WIDTH,
  913. };
  914.  
  915. GUIADDCONTROL {
  916.    Parent     = SBox,
  917.    Name       = "ArmourTXT",
  918.    ControlType= ID_TEXT_BOX,
  919.    Long1st   = PGUI_SINGLELINE_TEXT ,
  920.    Long2nd   = PGUI_SB_ARMOUR_TEXT ,
  921.    BoundRect  = {85+3,34+1,194+3,43+1},
  922.    Texture    = "GUI/ingamegui.dds",
  923.    Rec1STTexture = {675,217,784,226},
  924.    Res2NDTexture = {577,472,577,472},
  925.    FontColor  = 4290494599,
  926.    FontHeight  = PGUI_FONT_HEIGHT,
  927.    FontWidth  = PGUI_FONT_WIDTH,
  928. };
  929.  
  930. GUIADDCONTROL {
  931.    Parent     = SBox,
  932.    Name       = "ViewRangeTXT",
  933.    ControlType= ID_TEXT_BOX,
  934.    Long1st   = PGUI_SINGLELINE_TEXT ,
  935.    Long2nd   =  PGUI_SB_VIEWRANGE_TEXT,
  936.    BoundRect  = {85+3,56+1,194+3,65+1},
  937.    Texture    = "GUI/ingamegui.dds",
  938.    Rec1STTexture = {675,217,784,226},
  939.    Res2NDTexture = {577,472,577,472},
  940.    FontColor  = 4290494599,
  941.    FontHeight  = PGUI_FONT_HEIGHT,
  942.    FontWidth  = PGUI_FONT_WIDTH,
  943. };
  944.  
  945. GUIADDCONTROL {
  946.    Parent     = SBox,
  947.    Name       = "MaxSpeedTXT",
  948.    ControlType= ID_TEXT_BOX,
  949.    Long1st   = PGUI_SINGLELINE_TEXT ,
  950.    Long2nd   =  PGUI_SB_MAXSPEED_TEXT,
  951.    BoundRect  = {314+3,12+1,424+3,21+1},
  952.    Texture    = "GUI/ingamegui.dds",
  953.    Rec1STTexture = {675,217,784,226},
  954.    Res2NDTexture = {577,472,577,472},
  955.    FontColor  = 4290494599,
  956.    FontHeight  = PGUI_FONT_HEIGHT,
  957.    FontWidth  = PGUI_FONT_WIDTH,
  958. };
  959.  
  960. GUIADDCONTROL {
  961.    Parent     = SBox,
  962.    Name       = "VeterancyTXT",
  963.    ControlType= ID_TEXT_BOX,
  964.    Long1st   = PGUI_SINGLELINE_TEXT ,
  965.    Long2nd   =  PGUI_SB_VETERANCY_TEXT,
  966.    BoundRect  = {314+3,34+1,424+3,43+1},
  967.    Texture    = "GUI/ingamegui.dds",
  968.    Rec1STTexture = {675,217,784,226},
  969.    Res2NDTexture = {577,472,577,472},
  970.    FontColor  = 4290494599,
  971.    FontHeight  = PGUI_FONT_HEIGHT,
  972.    FontWidth  = PGUI_FONT_WIDTH,
  973. };
  974.  
  975. GUIADDCONTROL {
  976.    Parent     = SBox,
  977.    Name       = "FireModeTXT",
  978.    ControlType= ID_TEXT_BOX,
  979.    Long1st   = PGUI_SINGLELINE_TEXT ,
  980.    Long2nd   =  PGUI_SB_FIREMODE_TEXT,
  981.    BoundRect  = {320+3,67+1,424+3,76+1},
  982.    Texture    = "GUI/ingamegui.dds",
  983.    Rec1STTexture = {675,217,784,226},
  984.    Res2NDTexture = {577,472,577,472},
  985.    FontColor  = 4290494599,
  986.    FontHeight  = PGUI_FONT_HEIGHT,
  987.    FontWidth  = PGUI_FONT_WIDTH,
  988. };
  989.  
  990. GUIADDCONTROL {
  991.    Parent     = SBox,
  992.    Name       = "MoveModeTXT",
  993.    ControlType= ID_TEXT_BOX,
  994.    Long1st   = PGUI_SINGLELINE_TEXT ,
  995.    Long2nd   =  PGUI_SB_MOVEMODE_TEXT,
  996.    BoundRect  = {340+3,85+1,424+3,94+1},
  997.    Texture    = "GUI/ingamegui.dds",
  998.    Rec1STTexture = {675,217,784,226},
  999.    Res2NDTexture = {577,472,577,472},
  1000.    FontColor  = 4290494599,
  1001.    FontHeight  = PGUI_FONT_HEIGHT,
  1002.    FontWidth  = PGUI_FONT_WIDTH,
  1003. };
  1004.  
  1005. GUIADDCONTROL {
  1006.    Parent     = SBox,
  1007.    Name       = "Damage1TXT",
  1008.    ControlType= ID_TEXT_BOX,
  1009.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1010.    Long2nd   =  PGUI_SB_WEAPONDMG_1_TEXT,
  1011.    BoundRect  = {137,123+1,207,132+1},
  1012.    Texture    = "GUI/ingamegui.dds",
  1013.    Rec1STTexture = {727,328,797,337},
  1014.    Res2NDTexture = {577,472,577,472},
  1015.    FontColor  = 4290494599,
  1016.    FontHeight  = PGUI_FONT_HEIGHT,
  1017.    FontWidth  = PGUI_FONT_WIDTH,
  1018. };
  1019.  
  1020. GUIADDCONTROL {
  1021.    Parent     = SBox,
  1022.    Name       = "Damage2TXT",
  1023.    ControlType= ID_TEXT_BOX,
  1024.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1025.    Long2nd   =  PGUI_SB_WEAPONDMG_2_TEXT,
  1026.    BoundRect  = {137,138+1,207,147+1},
  1027.    Texture    = "GUI/ingamegui.dds",
  1028.    Rec1STTexture = {727,328,797,337},
  1029.    Res2NDTexture = {577,472,577,472},
  1030.    FontColor  = 4290494599,
  1031.    FontHeight  = PGUI_FONT_HEIGHT,
  1032.    FontWidth  = PGUI_FONT_WIDTH,
  1033. };
  1034.  
  1035. GUIADDCONTROL {
  1036.    Parent     = SBox,
  1037.    Name       = "Range1TXT",
  1038.    ControlType= ID_TEXT_BOX,
  1039.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1040.    Long2nd   =  PGUI_SB_WEAPONRANGE_1_TEXT,
  1041.    BoundRect  = {209,123+1,279,132+1},
  1042.    Texture    = "GUI/ingamegui.dds",
  1043.    Rec1STTexture = {727,328,797,337},
  1044.    Res2NDTexture = {577,472,577,472},
  1045.    FontColor  = 4290494599,
  1046.    FontHeight  = PGUI_FONT_HEIGHT,
  1047.    FontWidth  = PGUI_FONT_WIDTH,
  1048. };
  1049.  
  1050. GUIADDCONTROL {
  1051.    Parent     = SBox,
  1052.    Name       = "Range2TXT",
  1053.    ControlType= ID_TEXT_BOX,
  1054.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1055.    Long2nd   =  PGUI_SB_WEAPONRANGE_2_TEXT,
  1056.    BoundRect  = {209,138+1,279,147+1},
  1057.    Texture    = "GUI/ingamegui.dds",
  1058.    Rec1STTexture = {727,328,797,337},
  1059.    Res2NDTexture = {577,472,577,472},
  1060.    FontColor  = 4290494599,
  1061.    FontHeight  = PGUI_FONT_HEIGHT,
  1062.    FontWidth  = PGUI_FONT_WIDTH,
  1063. };
  1064.  
  1065. GUIADDCONTROL {
  1066.    Parent     = SBox,
  1067.    Name       = "Accuracy1TXT",
  1068.    ControlType= ID_TEXT_BOX,
  1069.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1070.    Long2nd   =  PGUI_SB_WEAPONACC_1_TEXT,
  1071.    BoundRect  = {281,123+1,351,132+1},
  1072.    Texture    = "GUI/ingamegui.dds",
  1073.    Rec1STTexture = {727,328,797,337},
  1074.    Res2NDTexture = {577,472,577,472},
  1075.    FontColor  = 4290494599,
  1076.    FontHeight  = PGUI_FONT_HEIGHT,
  1077.    FontWidth  = PGUI_FONT_WIDTH,
  1078. };
  1079.  
  1080. GUIADDCONTROL {
  1081.    Parent     = SBox,
  1082.    Name       = "Accuracy2TXT",
  1083.    ControlType= ID_TEXT_BOX,
  1084.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1085.    Long2nd   =  PGUI_SB_WEAPONACC_2_TEXT,
  1086.    BoundRect  = {281,138+1,351,147+1},
  1087.    Texture    = "GUI/ingamegui.dds",
  1088.    Rec1STTexture = {727,328,797,337},
  1089.    Res2NDTexture = {577,472,577,472},
  1090.    FontColor  = 4290494599,
  1091.    FontHeight  = PGUI_FONT_HEIGHT,
  1092.    FontWidth  = PGUI_FONT_WIDTH,
  1093. };
  1094.  
  1095. GUIADDCONTROL {
  1096.    Parent     = SBox,
  1097.    Name       = "Ammunition1TXT",
  1098.    ControlType= ID_TEXT_BOX,
  1099.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1100.    Long2nd   =  PGUI_SB_WEAPONAMMO_1_TEXT,
  1101.    BoundRect  = {353,123+1,423,132+1},
  1102.    Texture    = "GUI/ingamegui.dds",
  1103.    Rec1STTexture = {727,328,797,337},
  1104.    Res2NDTexture = {577,472,577,472},
  1105.    FontColor  = 4290494599,
  1106.    FontHeight  = PGUI_FONT_HEIGHT,
  1107.    FontWidth  = PGUI_FONT_WIDTH,
  1108. };
  1109.  
  1110. GUIADDCONTROL {
  1111.    Parent     = SBox,
  1112.    Name       = "Ammunition2TXT",
  1113.    ControlType= ID_TEXT_BOX,
  1114.    Long1st   = PGUI_SINGLELINE_TEXT ,
  1115.    Long2nd   =  PGUI_SB_WEAPONAMMO_2_TEXT,
  1116.    BoundRect  = {353,138+1,423,147+1},
  1117.    Texture    = "GUI/ingamegui.dds",
  1118.    Rec1STTexture = {727,328,797,337},
  1119.    Res2NDTexture = {577,472,577,472},
  1120.    FontColor  = 4290494599,
  1121.    FontHeight  = PGUI_FONT_HEIGHT,
  1122.    FontWidth  = PGUI_FONT_WIDTH,
  1123. };
  1124.  
  1125. GUIADDCONTROL {
  1126.     Parent     = SBox,
  1127.     Name       = "HealthBAR",
  1128.     ControlType= ID_PROGRESSBAR,
  1129.     Long2nd   = PGUI_SB_HEALTH_BAR ,
  1130.     BoundRect  = {85+3,8+1,194+3,10+1},
  1131.     Texture    = "GUI/ingamegui.dds",
  1132.     Rec1STTexture = {675,213,784,215},
  1133.     Rec2NDTexture = {165,364,274,366},
  1134.     FontColor  = 4290494599,
  1135.     FontHeight  = PGUI_FONT_HEIGHT,
  1136.     FontWidth  = PGUI_FONT_WIDTH,
  1137. };
  1138.  
  1139. GUIADDCONTROL {
  1140.     Parent     = SBox,
  1141.     Name       = "ArmourBAR",
  1142.     ControlType= ID_PROGRESSBAR,
  1143.     Long2nd   = PGUI_SB_ARMOUR_BAR ,
  1144.     BoundRect  = {85+3,30+1,194+3,32+1},
  1145.     Texture    = "GUI/ingamegui.dds",
  1146.     Rec1STTexture = {675,213,784,215},
  1147.     Rec2NDTexture = {165,364,274,366},
  1148.     FontColor  = 4290494599,
  1149.     FontHeight  = PGUI_FONT_HEIGHT,
  1150.     FontWidth  = PGUI_FONT_WIDTH,
  1151. };
  1152.  
  1153.  GUIADDCONTROL {
  1154.    Parent     = SBox,
  1155.    Name       = "ViewRangeBAR",
  1156.    ControlType= ID_PROGRESSBAR,
  1157.    Long2nd   =  PGUI_SB_VIEWRANGE_BAR,
  1158.    BoundRect  = {85+3,52+1,194+3,54+1},
  1159.    Texture    = "GUI/ingamegui.dds",
  1160.    Rec1STTexture = {675,213,784,215},
  1161.    Rec2NDTexture = {165,364,274,366},
  1162.    FontColor  = 4290494599,
  1163.    FontHeight  = PGUI_FONT_HEIGHT,
  1164.    FontWidth  = PGUI_FONT_WIDTH,
  1165.  };
  1166.  
  1167.  GUIADDCONTROL {
  1168.    Parent     = SBox,
  1169.    Name       = "MaxSpeedBAR",
  1170.    ControlType= ID_PROGRESSBAR,
  1171.    Long2nd   =  PGUI_SB_MAXSPEED_BAR,
  1172.    BoundRect  = {314+3,8+1,424+3,10+1},
  1173.    Texture    = "GUI/ingamegui.dds",
  1174.    Rec1STTexture = {675,213,784,215},
  1175.    Rec2NDTexture = {165,364,274,366},
  1176.    FontColor  = 4290494599,
  1177.    FontHeight  = PGUI_FONT_HEIGHT,
  1178.    FontWidth  = PGUI_FONT_WIDTH,
  1179. };
  1180.  
  1181.  GUIADDCONTROL {
  1182.    Parent     = SBox,
  1183.    Name       = "VeterancyBAR",
  1184.    ControlType= ID_PROGRESSBAR,
  1185.    Long2nd   =  PGUI_SB_VETERANCY_BAR,
  1186.    BoundRect  = {314+3,30+1,424+3,32+1},
  1187.    Texture    = "GUI/ingamegui.dds",
  1188.    Rec1STTexture = {675,213,784,215},
  1189.    Rec2NDTexture = {165,364,274,366},
  1190.    FontColor  = 4290494599,
  1191.    FontHeight  = PGUI_FONT_HEIGHT,
  1192.    FontWidth  = PGUI_FONT_WIDTH,
  1193. };
  1194.  
  1195.  GUIADDCONTROL {
  1196.    Parent     = SBox,
  1197.    Name       = "Damage1BAR",
  1198.    ControlType= ID_PROGRESSBAR,
  1199.    Long2nd   =  PGUI_SB_WEAPONDMG_1ST,
  1200.    BoundRect  = {137+3,119+1,207+3,121+1},
  1201.    Texture    = "GUI/ingamegui.dds",
  1202.    Rec1STTexture = {727,324,797,326},
  1203.    Rec2NDTexture = {165,364,234,366},
  1204.    FontColor  = 4290494599,
  1205.    FontHeight  = PGUI_FONT_HEIGHT,
  1206.    FontWidth  = PGUI_FONT_WIDTH,
  1207. };
  1208.  
  1209.  GUIADDCONTROL {
  1210.    Parent     = SBox,
  1211.    Name       = "Damage2BAR",
  1212.    ControlType= ID_PROGRESSBAR,
  1213.    Long2nd   =  PGUI_SB_WEAPONDMG_2ND,
  1214.    BoundRect  = {137+3,134+1,207+3,136+1},
  1215.    Texture    = "GUI/ingamegui.dds",
  1216.    Rec1STTexture = {727,324,797,326},
  1217.    Rec2NDTexture = {165,364,234,366},
  1218.    FontColor  = 4290494599,
  1219.    FontHeight  = PGUI_FONT_HEIGHT,
  1220.    FontWidth  = PGUI_FONT_WIDTH,
  1221. };
  1222.  
  1223.  GUIADDCONTROL {
  1224.    Parent     = SBox,
  1225.    Name       = "Range1BAR",
  1226.    ControlType= ID_PROGRESSBAR,
  1227.    Long2nd   =  PGUI_SB_WEAPONRANGE_1ST,
  1228.    BoundRect  = {209+3,119+1,279+3,121+1},
  1229.    Texture    = "GUI/ingamegui.dds",
  1230.    Rec1STTexture = {727,324,797,326},
  1231.    Rec2NDTexture = {165,364,234,366},
  1232.    FontColor  = 4290494599,
  1233.    FontHeight  = PGUI_FONT_HEIGHT,
  1234.    FontWidth  = PGUI_FONT_WIDTH,
  1235. };
  1236.  
  1237.  GUIADDCONTROL {
  1238.    Parent     = SBox,
  1239.    Name       = "Range2BAR",
  1240.    ControlType= ID_PROGRESSBAR,
  1241.    Long2nd   =  PGUI_SB_WEAPONRANGE_2ND,
  1242.    BoundRect  = {209+3,134+1,279+3,136+1},
  1243.    Texture    = "GUI/ingamegui.dds",
  1244.    Rec1STTexture = {727,324,797,326},
  1245.    Rec2NDTexture = {165,364,234,366},
  1246.    FontColor  = 4290494599,
  1247.    FontHeight  = PGUI_FONT_HEIGHT,
  1248.    FontWidth  = PGUI_FONT_WIDTH,
  1249. };
  1250.  
  1251.  GUIADDCONTROL {
  1252.    Parent     = SBox,
  1253.    Name       = "Accuracy1BAR",
  1254.    ControlType= ID_PROGRESSBAR,
  1255.    Long2nd   =  PGUI_SB_WEAPONACC_1ST,
  1256.    BoundRect  = {281+3,119+1,351+3,121+1},
  1257.    Texture    = "GUI/ingamegui.dds",
  1258.    Rec1STTexture = {727,324,797,326},
  1259.    Rec2NDTexture = {165,364,234,366},
  1260.    FontColor  = 4290494599,
  1261.    FontHeight  = PGUI_FONT_HEIGHT,
  1262.    FontWidth  = PGUI_FONT_WIDTH,
  1263. };
  1264.  
  1265.  GUIADDCONTROL {
  1266.    Parent     = SBox,
  1267.    Name       = "Accuracy2BAR",
  1268.    ControlType= ID_PROGRESSBAR,
  1269.    Long2nd   =  PGUI_SB_WEAPONACC_2ND,
  1270.    BoundRect  = {281+3,134+1,351+3,136+1},
  1271.    Texture    = "GUI/ingamegui.dds",
  1272.    Rec1STTexture = {727,324,797,326},
  1273.    Rec2NDTexture = {165,364,234,366},
  1274.    FontColor  = 4290494599,
  1275.    FontHeight  = PGUI_FONT_HEIGHT,
  1276.    FontWidth  = PGUI_FONT_WIDTH,
  1277. };
  1278.  
  1279.  GUIADDCONTROL {
  1280.    Parent     = SBox,
  1281.    Name       = "Ammunition1BAR",
  1282.    ControlType= ID_PROGRESSBAR,
  1283.    Long2nd   =  PGUI_SB_WEAPONAMMO_1ST,
  1284.    BoundRect  = {353+3,119+1,423+3,121+1},
  1285.    Texture    = "GUI/ingamegui.dds",
  1286.    Rec1STTexture = {727,324,797,326},
  1287.    Rec2NDTexture = {165,364,234,366},
  1288.    FontColor  = 4290494599,
  1289.    FontHeight  = PGUI_FONT_HEIGHT,
  1290.    FontWidth  = PGUI_FONT_WIDTH,
  1291. };
  1292.  
  1293.  GUIADDCONTROL {
  1294.    Parent     = SBox,
  1295.    Name       = "Ammunition2BAR",
  1296.    ControlType= ID_PROGRESSBAR,
  1297.    Long2nd   =  PGUI_SB_WEAPONAMMO_2ND,
  1298.    BoundRect  = {353+3,134+1,423+3,136+1},
  1299.    Texture    = "GUI/ingamegui.dds",
  1300.    Rec1STTexture = {727,324,797,326},
  1301.    Rec2NDTexture = {165,364,234,366},
  1302.    FontColor  = 4290494599,
  1303.    FontHeight  = PGUI_FONT_HEIGHT,
  1304.    FontWidth  = PGUI_FONT_WIDTH,
  1305. };
  1306.  
  1307.  GUIADDCONTROL {
  1308.     Parent     = SBox,
  1309.     Name       = "BigPicture",
  1310.     ControlType= ID_PICTURE_BOX ,
  1311.     Long2nd   =  PGUI_SB_BIG_PCT ,
  1312.     BoundRect  = {-156,0,160-156,153},
  1313.     Texture    = "GUI/uniticonsbig.dds",
  1314.     Rec1STTexture = {0,0,160,153},
  1315.     FontColor  = 4290494599,
  1316.     FontHeight = 13,
  1317.     FontWidth  = 8,
  1318. };
  1319.  
  1320.  GUIADDCONTROL {
  1321.     Parent     = SBox,
  1322.     Name       = "SmallPicture",
  1323.     ControlType= ID_PICTURE_BOX ,
  1324.     Long2nd   =  PGUI_SB_SMALL_PCT ,
  1325.     BoundRect  = {0+74,0,73+74,63},
  1326.     Texture    = "GUI/uniticons.dds",
  1327.     Rec1STTexture = {0,0,74,64},
  1328.     FontColor  = 4294967040,
  1329. };
  1330.  
  1331.  
  1332.                                                      
  1333. -- -----------------------------------------------------------------------
  1334.  
  1335.  
  1336. GUIADDCONTROL {
  1337.     Parent     = id,
  1338.     Name       = "1Nazad",
  1339.     ControlType= ID_BUTTON,
  1340.     BoundRect  = {182, 660-563, 201, 683-563},
  1341.     Texture    = "GUI/ingamegui.dds",
  1342.     Title      = "1Back",
  1343.     Rec1STTexture = {182, 660-563, 201, 683-563},
  1344.     Rec2NDTexture = {471, 206, 490, 229},
  1345.     Rec3RDTexture = {471, 278, 490, 301},
  1346.     Rec4THTexture = {471, 278, 490, 301},
  1347.         MESSAGE_MAP = {
  1348.         {PGUI_1STBUTTON_CLCK , "STEPBACK", 0, 14},
  1349.     },
  1350.  
  1351. };
  1352. GUIADDCONTROL {
  1353.     Parent     = id,
  1354.     Name       = "2Nazad",
  1355.     ControlType= ID_BUTTON,
  1356.     BoundRect  = {182, 686-563, 201, 709-563},
  1357.     Texture    = "GUI/ingamegui.dds",
  1358.     Title      = "2Back",
  1359.     Rec1STTexture = {182, 686-563, 201, 709-563},
  1360.     Rec2NDTexture = {471, 230, 490, 253},
  1361.     Rec3RDTexture = {471, 302, 490, 325},
  1362.     Rec4THTexture = {471, 302, 490, 325},
  1363.         MESSAGE_MAP = {
  1364.         {PGUI_1STBUTTON_CLCK , "STEPBACK", 3, 14},
  1365.     },
  1366.  
  1367. };
  1368. -----------------------------------------------------------------------------
  1369. --------------  escape gui --------------------------------------------------
  1370.  
  1371. id3=GUIADDCONTROL {
  1372.     Parent     = 0,
  1373.     Name       = "Frame",
  1374.     ControlType= ID_FRAME,
  1375.     BoundRect  = {434,148,589,444},
  1376.     Texture    = "GUI/InGameMenu.dds",
  1377.     Rec1STTexture = {201,0,355,296},
  1378.  
  1379.     MESSAGE_MAP = {
  1380.         {PGUI_INITIALISATION , "ESCINIT"},
  1381.     },
  1382. };
  1383.  
  1384. GUIADDCONTROL {
  1385.     Parent     = id3,
  1386.     Name       = "Resume",
  1387.     ControlType= ID_BUTTON,
  1388.     BoundRect  = {477-434,282-248,586-434,311-248},
  1389.     Texture    = "GUI/InGameMenu.dds",
  1390.     Title      = "Button 31",
  1391.     Rec1STTexture = {0,250,1,251},
  1392.     Rec2NDTexture = {354,174+29,464,203+29},
  1393.     Rec3RDTexture = {0,250,1,251},
  1394.     Rec4THTexture = {0,250,1,251},
  1395.  
  1396.     MESSAGE_MAP = {
  1397.         {PGUI_1STBUTTON_CLCK , "EscapeEscape"},
  1398.     },
  1399. };
  1400.  
  1401. GUIADDCONTROL {
  1402.     Parent     = id3,
  1403.     Name       = "Restart",
  1404.     ControlType= ID_BUTTON,
  1405.     BoundRect  = {477-434,330-248,586-434,359-248},
  1406.     Texture    = "GUI/InGameMenu.dds",
  1407.     Title      = "Button 31",
  1408.     Rec1STTexture = {0,250,1,251},
  1409.     Rec2NDTexture = {354,87,464,116},
  1410.     Rec3RDTexture = {0,250,1,251},
  1411.     Rec4THTexture = {0,250,1,251},
  1412.  
  1413.     MESSAGE_MAP = {
  1414.         {PGUI_1STBUTTON_CLCK , "RESTART"},
  1415.     },
  1416. };
  1417.  
  1418. GUIADDCONTROL {
  1419.     Parent     = id3,
  1420.     Name       = "Options",
  1421.     ControlType= ID_BUTTON,
  1422.     BoundRect  = {477-434,426-248,586-434,455-248},
  1423.     Texture    = "GUI/InGameMenu.dds",
  1424.     Title      = "Button 32",
  1425.     Rec1STTexture = {0,250,1,251},
  1426.     Rec2NDTexture = {354,145,464,174},
  1427.     Rec3RDTexture = {0,250,1,251},
  1428.     Rec4THTexture = {0,250,1,251},
  1429.  
  1430.     MESSAGE_MAP = {
  1431.         {PGUI_1STBUTTON_CLCK , "OPTIONS"},
  1432.     },
  1433. };
  1434.  
  1435. GUIADDCONTROL {
  1436.     Parent     = id3,
  1437.     Name       = "MainMenu",
  1438.     ControlType= ID_BUTTON,
  1439.     BoundRect  = {477-434,378-248,586-434,407-248},
  1440.     Texture    = "GUI/InGameMenu.dds",
  1441.     Title      = "Button 32",
  1442.     Rec1STTexture = {0,250,1,251},
  1443.     Rec2NDTexture = {354,116,464,145},
  1444.     Rec3RDTexture = {0,250,1,251},
  1445.     Rec4THTexture = {0,250,1,251},
  1446.  
  1447.     MESSAGE_MAP = {
  1448.         {PGUI_1STBUTTON_CLCK , "MAINMENU"},
  1449.     },
  1450. };
  1451.  
  1452. GUIADDCONTROL {
  1453.     Parent     = id3,
  1454.     Name       = "Exit",
  1455.     ControlType= ID_BUTTON,
  1456.     BoundRect  = {477-434,426-200,586-434,455-200},
  1457.     Texture    = "GUI/InGameMenu.dds",
  1458.     Title      = "Button 32",
  1459.     Rec1STTexture = {0,250,1,251},
  1460.     Rec2NDTexture = {354,174,464,203},
  1461.     Rec3RDTexture = {0,250,1,251},
  1462.     Rec4THTexture = {0,250,1,251},
  1463.  
  1464.     MESSAGE_MAP = {
  1465.         {PGUI_1STBUTTON_CLCK , "QUITDEMO"},
  1466.     },
  1467. };
  1468.  
  1469.  
  1470.  
  1471. -------------------------------------------------------------------------
  1472. ---------------  mission success ----------------------------------------
  1473.  
  1474. id2=GUIADDCONTROL {
  1475.     Parent     = 0,
  1476.     Name       = "Report",
  1477.     ControlType= ID_FRAME,
  1478.     BoundRect  = {386,312,637,434},
  1479.     Texture    = "GUI/mission.dds",
  1480.     Rec1STTexture = {0,0,1,1},
  1481.  
  1482.     MESSAGE_MAP = {
  1483.         {PGUI_INITIALISATION , "MISSION"},
  1484.     },
  1485.  
  1486. };
  1487.  
  1488. id33 = GUIADDCONTROL {
  1489.     Parent     = id2,
  1490.     Name       = "Success",
  1491.     ControlType= ID_PICTURE_BOX,
  1492.     BoundRect  = {386-386,312-312,637-386,434-312},
  1493.     Texture    = "GUI/mission.dds",
  1494.     Title      = "Success",
  1495.     Rec1STTexture = {0,0,251,122},
  1496.     Rec2NDTexture = {0,0,251,122},
  1497.     Rec3RDTexture = {0,0,251,122},
  1498.     Rec4THTexture = {0,0,251,122},
  1499.     MESSAGE_MAP = {
  1500.         {PGUI_INITIALISATION , "MISSION"},
  1501.     },
  1502.  
  1503. };
  1504.  
  1505. id234 = GUIADDCONTROL {
  1506.     Parent     = id2,
  1507.     Name       = "Failed",
  1508.     ControlType= ID_PICTURE_BOX,
  1509.     BoundRect  = {386-386,312-312,637-386,434-312},
  1510.     Texture    = "GUI/mission.dds",
  1511.     Title      = "Failed",
  1512.     Rec1STTexture = {251,0,512,122},
  1513.     Rec2NDTexture = {251,0,512,122},
  1514.     Rec3RDTexture = {251,0,512,122},
  1515.     Rec4THTexture = {251,0,512,122},
  1516.     MESSAGE_MAP = {
  1517.         {PGUI_INITIALISATION , "MISSION"},
  1518.     },
  1519. };
  1520.  
  1521. GUIADDCONTROL {
  1522.     Parent     = id33,
  1523.     Name       = "OK",
  1524.     ControlType= ID_BUTTON,
  1525.     BoundRect  = {541-386,386-312,618-386,415-312},
  1526.     Texture    = "GUI/mission.dds",
  1527.     Title      = "Button ok suc",
  1528.     Rec1STTexture = {541-386,386-312,618-386,415-312},
  1529.     Rec2NDTexture = {109,122,186,151},
  1530.     Rec3RDTexture = {541-386,386-312,618-386,415-312},
  1531.     Rec4THTexture = {541-386,386-312,618-386,415-312},
  1532.  
  1533.     MESSAGE_MAP = {
  1534.         {PGUI_1STBUTTON_CLCK , "MAINMENU2"},
  1535.     },
  1536. };
  1537.  
  1538. GUIADDCONTROL {
  1539.     Parent     = id33,
  1540.     Name       = "Restart",
  1541.     ControlType= ID_BUTTON,
  1542.     BoundRect  = {413-386,386-312,522-386,415-312},
  1543.     Texture    = "GUI/mission.dds",
  1544.     Title      = "Button res suc",
  1545.     Rec1STTexture = {413-386,386-312,522-386,415-312},
  1546.     Rec2NDTexture = {0,122,109,151},
  1547.     Rec3RDTexture = {413-386,386-312,522-386,415-312},
  1548.     Rec4THTexture = {413-386,386-312,522-386,415-312},
  1549.  
  1550.     MESSAGE_MAP = {
  1551.         {PGUI_1STBUTTON_CLCK , "RESTART"},
  1552.     },
  1553. };
  1554.  
  1555.  
  1556. GUIADDCONTROL {
  1557.     Parent     = id234,
  1558.     Name       = "OK2",
  1559.     ControlType= ID_BUTTON,
  1560.     BoundRect  = {541-386-6,386-312,618-386-6,415-312},
  1561.     Texture    = "GUI/mission.dds",
  1562.     Title      = "Button ok fai",
  1563.     Rec1STTexture = {541-386,386-312,618-386,415-312},
  1564.     Rec2NDTexture = {109,122,186,151},
  1565.     Rec3RDTexture = {541-386,386-312,618-386,415-312},
  1566.     Rec4THTexture = {541-386,386-312,618-386,415-312},
  1567.  
  1568.     MESSAGE_MAP = {
  1569.         {PGUI_1STBUTTON_CLCK , "MAINMENU3"},
  1570.     },
  1571. };
  1572.  
  1573. GUIADDCONTROL {
  1574.     Parent     = id234,
  1575.     Name       = "Restart2",
  1576.     ControlType= ID_BUTTON,
  1577.     BoundRect  = {413-386-2,386-312,522-386-2,415-312},
  1578.     Texture    = "GUI/mission.dds",
  1579.     Title      = "Button re fail",
  1580.     Rec1STTexture = {413-386,386-312,522-386,415-312},
  1581.     Rec2NDTexture = {0,122,109,151},
  1582.     Rec3RDTexture = {413-386,386-312,522-386,415-312},
  1583.     Rec4THTexture = {413-386,386-312,522-386,415-312},
  1584.  
  1585.     MESSAGE_MAP = {
  1586.         {PGUI_1STBUTTON_CLCK , "RESTART"},
  1587.     },
  1588. };
  1589.  
  1590. GUIADDCONTROL {
  1591.     Parent     = 0,
  1592.     Name       = "Voice",
  1593.     ControlType= ID_FRAME,
  1594.     BoundRect  = {0,0,291,63},
  1595.     Texture    = "GUI/ingamegui.dds",
  1596.     Rec1STTexture = {732,358,1023,421},
  1597.     MESSAGE_MAP = {
  1598.         {PGUI_INITIALISATION , "VOICEFRAME"},
  1599.     },
  1600. };
  1601.  
  1602. GUIADDCONTROL {
  1603.     Parent     = 0,
  1604.     Name       = "Mission",
  1605.     ControlType= ID_FRAME,
  1606.     BoundRect  = {-237,0+70,0,132+70},
  1607.     Texture    = "GUI/missionTEXT_01.DDS",
  1608.     Rec1STTexture = {0,0,236,132},
  1609.     MESSAGE_MAP = {
  1610.         {PGUI_INITIALISATION , "MISSIONDFRAME"},
  1611.     },
  1612. };
  1613.  
  1614. -------------------------------------------------------------------------
  1615. -------------------------------------------------------------------------
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621. --    Parent     = ,
  1622. --    Name       = ,
  1623. --    ControlType= ,
  1624. --    MessageParentID = ,
  1625. --    BoundRect  = {0,0,32,32},
  1626. --    SecRect    = {0,0,0,32},
  1627. --    Title      = "",  
  1628. --    FontHeight = 18,
  1629. --    FontWidth  = 20,
  1630. --    Long1st   =,
  1631. --    Long2nd   =,
  1632. --    Float1st   =,
  1633. --    Float2nd   =,
  1634. --    FontColor  =,
  1635. --    Texture    =,
  1636. --    Rec1STTexture =,
  1637. --    Rec2NDTexture =,
  1638. --    Rec3RDTexture =,
  1639. --    Rec4THTexture =,
  1640. --    Rec5THTexture =,
  1641. --    Rec6THTexture =,
  1642. --    Rec7THTexture =,
  1643. --    Rec8THTexture =,
  1644.  
  1645.